x ^ yRaise one Python object to the power of another.
|
In addition to the Macaulay2-style ^, this operation is also available using the Python-style **.
|
Note that parentheses were not necessary in the latter case since ** has much lower precedence than ^.
If one of the arguments is a Macaulay2 object, then it is first converted to a Python object before exponentiating.
|
|
In Python, the ^ operator corresponds to the bitwise xor operation. We use ^^ in this case for consistency with the rest of Macaulay2.
The source of this document is in Python/doc/arithmetic.m2:777:0.